package com.ui.data
{
	import com.net.AssetData;
	import com.ui.core.UIComponentData;

	/**
	 * @author thinkpad
	 */
	public class TitleWindowData extends UIComponentData
	{
		public var titleBarData:TitleBarData = new TitleBarData();
		public var modal:Boolean = false;
		public var allowDrag:Boolean = false;
		public var allowScale:Boolean = false;
		public var panelData:PanelData = new PanelData();
		public var closeButtonData:ButtonData = new ButtonData();
		public var isClickTop:Boolean = false;

		public function TitleWindowData():void
		{
			width = 100;
			height = 100;
			closeButtonData.width = closeButtonData.height = 23;
			closeButtonData.upAsset = closeButtonData.downAsset = closeButtonData.overAsset = new AssetData( "close_icon_16" );
		}
	}
}
